using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public static class Mathp {

	public static int FloatAsExpectation(float e){
		int result = (int)e;
		if(Random.Range(0f,1f)<(e-Mathf.Floor(e))) result++;

		return result;
	}

}
